package com.zdd.chap4a.service;

import com.zdd.chap4a.entity.Book;

import java.util.List;

public interface BookService {
    public List<Book> findAllBooks();

    public List<Book> searchBooks(Book book);

    public Book findBookById(int id);
    public void addBook(Book book);
    public void updateBook(Book book);
    public void deleteBook(int id);
    public void deleteBooks(int[] ids);
}
